﻿<UserControl x:Class="VisualRibbonEditor.RibbonButton"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="200" d:DesignWidth="400" MouseEnter="UserControl_MouseEnter" MouseLeave="UserControl_MouseLeave" >
    
    <!--<Grid x:Name="LayoutRoot" MaxWidth="70" MinWidth="40" Height="80" Background="#01ffffff" >
		<Border BorderThickness="1" BorderBrush="Transparent" Name="ButtonBorder"  >
			<StackPanel VerticalAlignment="Top" Name="ButtonStack" >
				<Image Width="32" Height="32" Name="Image" />
				<TextBlock Text="Display Name" FontSize="10" Name="TextBlock" TextWrapping="Wrap" TextAlignment="Center" HorizontalAlignment="Center" />
			</StackPanel>
		</Border>
	</Grid>-->

	<Grid x:Name="LayoutRoot" MaxWidth="250" MinWidth="40" Background="#01ffffff" >
		<Border BorderThickness="1" BorderBrush="Transparent" Name="ButtonBorder"  >
			<StackPanel VerticalAlignment="Top" Name="ButtonStack" Orientation="Horizontal" >
				<Image Width="16" Height="16" Name="Image" Margin="0,0,4,0" VerticalAlignment="Center" />
				<TextBlock Text="Display Name" FontSize="10" Name="TextBlock"  
						   TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" />
			</StackPanel>
		</Border>
	</Grid>
	
	<!-- ButtonStack.Orientation = Orientation.Horizontal;
					this.MinWidth = 40;
					this.MaxWidth = 250;
					this.Height = 25;
					this.TextBlock.TextWrapping = TextWrapping.NoWrap;
					this.Image.Height = 16;
					this.Image.Width = 16;
					this.Image.Margin = new Thickness(0,0,4,0);
					this.Margin = new Thickness(0);
					this.Image.VerticalAlignment = System.Windows.VerticalAlignment.Center;
					this.TextBlock.VerticalAlignment = System.Windows.VerticalAlignment.Center;
					this.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
	
	<Grid x:Name="LayoutRoot" MaxWidth="250"  MinWidth="40" Height="25" Background="#01ffffff" HorizontalAlignment="Left" >
		<StackPanel VerticalAlignment="Center" Orientation="Horizontal"  >
			<Image Width="16" Height="16" Name="Image" Margin="0,0,4,0" />
			<TextBlock Text="Display Name " FontSize="10" Name="TextBlock"   />
		</StackPanel>
	</Grid>-->

</UserControl>
